package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * The type Provider.
 */
public class Provider extends Common implements Serializable {
    private static final long serialVersionUID = -83143459773661932L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;


    /**
     * 供应商名称
     */
    @TableField(value = "providerName")
    private String providerName;
    /**
     * 供应商联系人
     */
    @TableField(value = "providerContact")
    private String providerContact;
    /**
     * 供应商邮箱
     */
    @TableField(value = "providerEmail")
    private String providerEmail;
    /**
     * 供应商电话
     */
    @TableField(value = "providerMobile")
    private String providerMobile;
    /**
     * 供应商地址
     */
    @TableField(value = "providerAddress")
    private String providerAddress;
    /**
     * 供应商状态，1为合作，0为不合作
     */
    @TableField(value = "providerStatus")
    private Integer providerStatus;


    /**
     * Gets serial version uid.
     *
     * @return the serial version uid
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * Gets id.
     *
     * @return the id
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets provider name.
     *
     * @return the provider name
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getProviderName() {
        return providerName;
    }

    /**
     * Sets provider name.
     *
     * @param providerName the provider name
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    /**
     * Gets provider contact.
     *
     * @return the provider contact
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getProviderContact() {
        return providerContact;
    }

    /**
     * Sets provider contact.
     *
     * @param providerContact the provider contact
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderContact(String providerContact) {
        this.providerContact = providerContact;
    }

    /**
     * Gets provider email.
     *
     * @return the provider email
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getProviderEmail() {
        return providerEmail;
    }

    /**
     * Sets provider email.
     *
     * @param providerEmail the provider email
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderEmail(String providerEmail) {
        this.providerEmail = providerEmail;
    }

    /**
     * Gets provider mobile.
     *
     * @return the provider mobile
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getProviderMobile() {
        return providerMobile;
    }

    /**
     * Sets provider mobile.
     *
     * @param providerMobile the provider mobile
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderMobile(String providerMobile) {
        this.providerMobile = providerMobile;
    }


    /**
     * Gets provider status.
     *
     * @return the provider status
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public Integer getProviderStatus() {
        return providerStatus;
    }

    /**
     * Sets provider status.
     *
     * @param providerStatus the provider status
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderStatus(Integer providerStatus) {
        this.providerStatus = providerStatus;
    }

    /**
     * Instantiates a new Provider.
     *
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public Provider() {
    }

    /**
     * To string string.
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "Provider{" +
                "id='" + id + '\'' +
                ", providerName='" + providerName + '\'' +
                ", providerContact='" + providerContact + '\'' +
                ", providerEmail='" + providerEmail + '\'' +
                ", providerMobile='" + providerMobile + '\'' +
                ", providerAddress='" + providerAddress + '\'' +
                ", providerStatus=" + providerStatus +
                '}';
    }

    /**
     * Gets provider address.
     *
     * @return the provider address
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public String getProviderAddress() {
        return providerAddress;
    }

    /**
     * Sets provider address.
     *
     * @param providerAddress the provider address
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public void setProviderAddress(String providerAddress) {
        this.providerAddress = providerAddress;
    }

    /**
     * Instantiates a new Provider.
     *
     * @param id              the id
     * @param providerName    the provider name
     * @param providerContact the provider contact
     * @param providerEmail   the provider email
     * @param providerMobile  the provider mobile
     * @param providerAddress the provider address
     * @param providerStatus  the provider status
     * @author overlook
     * @date 2022 -04-16 20:31:25
     */
    public Provider(String id, String providerName, String providerContact, String providerEmail, String providerMobile, String providerAddress, Integer providerStatus) {
        this.id = id;
        this.providerName = providerName;
        this.providerContact = providerContact;
        this.providerEmail = providerEmail;
        this.providerMobile = providerMobile;
        this.providerAddress = providerAddress;
        this.providerStatus = providerStatus;
    }
}

